import { ConfigProvider } from "antd";
import zh from "antd/locale/zh_CN";
import type { PropsWithChildren } from "react";

export default function AntdProvider({ children }: PropsWithChildren) {
  return <ConfigProvider locale={zh}>{children}</ConfigProvider>;
}
